Skip to content

Add FailOnAnonymousAction for SAML auth to get redirect#23

Open
cwperks wants to merge 1 commit intomainfrom
saml-plus-anonymous
Open

Add FailOnAnonymousAction for SAML auth to get redirect#23
cwperks wants to merge 1 commit intomainfrom
saml-plus-anonymous

Conversation

@cwperks
Copy link
Copy Markdown
Owner

@cwperks cwperks commented Mar 18, 2024

Companion security-dashboards-plugin PR: cwperks/security-dashboards-plugin#3

Adds FailOnAnonymous action which explicitly will fail an anonymous request so that SAML can get redirect info.

SAML currently calls on the authinfo endpoint and expects it to fail, but it succeeds when anonymous is enabled: https://github.com/opensearch-project/security-dashboards-plugin/blob/main/server/backend/opensearch_security_client.ts#L186

This new endpoint will explicitly fail.

Signed-off-by: Craig Perkins <cwperx@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant